package com.alfred.mall.order.api.constant;

public enum OrderErrorCodeEnum {

    ORDER_GET_GOODS_INFO_INCORRECT(1008000008, "获取额商品信息不正确!"),

    // order item
    ORDER_ITEM_SOME_NOT_EXISTS(1008000201, "有不存在的商品!");

    private final int code;
    private final String message;

    OrderErrorCodeEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
